cmake_minimum_required(VERSION 3.10)
project(watershed)

find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)

set(CMAKE_CXX_STANDARD 14)

add_executable(watershed RegionGrowing.cpp)

target_link_libraries(watershed ${OpenCV_LIBS})
target_link_libraries(watershed ${Eigen_LIBS})
